package cc.rengu.redp.bizimpl.igas.service.impl;

import cc.rengu.redp.bizimpl.igas.dao.IgasSequenceMapper;
import cc.rengu.redp.bizimpl.igas.domain.PayOrderInfo;
import cc.rengu.redp.bizimpl.igas.service.IgasSequenceService;
import com.baomidou.dynamic.datasource.annotation.DS;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

/**
 * 预约转账管理服务
 *
 * @author zhangxu
 */
@Service("igasSequenceService")
@Slf4j
@DS("igas")
public class IgasSequenceServiceImpl extends ServiceImpl<IgasSequenceMapper, PayOrderInfo> implements IgasSequenceService {


    @Override
    public String getNextEsbSequenceNo() throws Exception {
        return this.baseMapper.getNextEsbSequenceNo();
    }

    @Override
    public String getNextSignSequenceNo() throws Exception {
        return this.baseMapper.getNextSignSequenceNo();
    }
}
